﻿using System;
using Pixysoft.SQL;
namespace Pixysoft.Framework.Noebe.Orm
{
    /// <summary>
    /// 已知源，查询其属性
    /// 
    /// 例如
    /// User{ PageRoleList;}
    /// 
    /// OrmObject = User
    /// QueryString = "PAGEROLELIST"; //不需要把源也输入
    /// </summary>
    public interface IOrmRightQuery<T>
    {
        object OrmObject { get; set; }

        string QueryString { get; set; }

        SQLFunction Function { get;set;}

        System.Collections.Generic.Dictionary<string, object> Parameters { get;}

        System.Collections.Generic.List<U> Select<U>();
    }
}
